package cn.edu.hitwh.kanlema.mapper;

import cn.edu.hitwh.kanlema.entity.Blog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author vvcoder
 * @since 2025-8-18
 */
public interface BlogMapper extends BaseMapper<Blog> {
    int addLike(Long blogId, Long count);

    List<Blog> getBlogOfFollow(Long userId, Long lastId, long count);
}
